/**
 * 
 */
package org.Framework.Examples;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;

/**
 * @author Administrator
 */
public class ButtonsInConstructor extends JFrame{

	private static final long serialVersionUID = 1L;

	/**
	 */
	public ButtonsInConstructor() {
		super("Hello World Swinger");
		JButton Jb = new JButton("Click Me!");
		JPanel Pl = new JPanel();
		Pl.add(Jb);
		setContentPane(Pl);
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		JFrame frame = new ButtonsInConstructor();
		frame.setBounds(100, 100, 100, 100);
		frame.setVisible(true);
		frame.setDefaultCloseOperation(EXIT_ON_CLOSE);

	}

}
